<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Spry HTML Panel</title>
<script language="JavaScript" type="text/javascript" src="SpryHTMLPanel.js"></script>
<link href="SpryHTMLPanel.css" rel="stylesheet" type="text/css" />
<style type="text/css">

#samplePanel {
	border: solid 1px black;
	background-color: #FFFFCC;
	padding: 4px;
}

#samplePanel.HTMLPanelError {
	background-color: red;
}
</style>
</head>
<body>
<p>
	<a href="../../samples/htmlpanel/frag-0.html" onclick="hpanel.loadContent(this.href); return false;">Fragment-1</a> |
	<a href="../../samples/htmlpanel/frag-1.html" onclick="hpanel.loadContent(this.href); return false;">Fragment-2</a> |
	<a href="../../samples/htmlpanel/frag-2.html" onclick="hpanel.loadContent(this.href); return false;">Fragment-3</a> |
	<a href="../../samples/htmlpanel/frag-3.html" onclick="hpanel.loadContent(this.href); return false;">Fragment-4</a> |
	<a href="../../samples/htmlpanel/badurl/fake.html" onclick="hpanel.loadContent(this.href); return false;">Non-Existent-Fragment</a>
</p>
<div class="HTMLPanel" id="samplePanel">
	<p>This is some static content within an HTMLPanel container. It will disappear once content is loaded into the panel via one of the links above.</p>
	<p>Almost any block or inline element can be an HTMLPanel container.</p>
	<div class="HTMLPanelLoadingContent">
		<p>This is an example of some content that will only show when the HTML Panel loads content.</p>
	</div>
	<div class="HTMLPanelErrorContent">
		<p>This is an example of some content that will only show when the HTML Panel fails to load content.</p>
	</div>
</div>

<script language="JavaScript" type="text/javascript">
var hpanel = new Spry.Widget.HTMLPanel("samplePanel");
</script>
</body>
</html>
